package com.ruoyi.admin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.admin.domain.Paper;
import com.ruoyi.admin.model.request.PaperReq;
import com.ruoyi.admin.model.response.PaperDetailResp;

import java.util.List;

/**
 * (Paper)表服务接口
 *
 * @author makejava
 * @since 2023-04-06 16:06:35
 */
public interface PaperService extends IService<Paper> {

    List<Paper> paperPage(Page<Paper> page, Paper paper);

    boolean savePaper(PaperReq paperReq);

    PaperDetailResp paperDetail(Long paperId);

}

